<?php

/**
 * 
 */
class Test_model extends MY_Model
{
	private $db;
	
	public function __construct() {
		parent::__construct();
		$this->db = $this->load->database('log_db',true);
	}


    public function search_log(){
    	$query = $this->db->get('ConstDB');
    	return $query->result();
    }
}